from selenium import webdriver
from selenium.webdriver.common.by import By
from options import options
from time import sleep

driver=webdriver.Chrome(options=options)
driver.get(r'https://www.baidu.com/')
sleep(1)
driver.get(r'https://news.baidu.com/')
sleep(1)
driver.back()
sleep(1)
driver.forward()
sleep(1)
driver.minimize_window()
sleep(1)
driver.maximize_window()
sleep(1)
driver.set_window_size(900,600)
print(driver.get_window_size())
sleep(1)
driver.quit()